package com.hisan.freeride.home.model;


import com.hisan.freeride.common.model.BaseModel;

/**
 * 创建时间 : 2017/6/26
 * 创建人：yangyingqi
 * 公司：嘉善和盛网络有限公司
 * 备注：兑换记录模板
 */
public class Exchange extends BaseModel {


    /**
     * id : 41
     * name : 鹿跑润滑油
     * price : 10
     * handle : 0
     * create_time : 2017-07-10 10:33:51
     * codedata : {"takecode":"","address":""}
     */

    private int id;
    private String name;
    private int price;
    private int handle;
    private String create_time;
    private CodedataBean codedata;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    public int getHandle() {
        return handle;
    }

    public void setHandle(int handle) {
        this.handle = handle;
    }

    public String getCreate_time() {
        return create_time;
    }

    public void setCreate_time(String create_time) {
        this.create_time = create_time;
    }

    public CodedataBean getCodedata() {
        return codedata;
    }

    public void setCodedata(CodedataBean codedata) {
        this.codedata = codedata;
    }

    public static class CodedataBean {
        /**
         * takecode :
         * address :
         */

        private String takecode;
        private String address;

        public String getTakecode() {
            return takecode;
        }

        public void setTakecode(String takecode) {
            this.takecode = takecode;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }
    }
}
